<?
require_once ('../../base/Upload.php');
require_once('../../base/Db.php');
require_once('../../base/Tools.php');

$cateId = $_POST['cateId'];
$cateName = unescape($_POST['cateName']);
$id = $_GET[''];



$db = new Db();
$sql = "update product_cate set code='$cateId', name='$cateName',where id=";
if($db->execute($sql)){
	echo "1:修改成功";
}